/* __auth__ : KunLin */
package com.cskaoyan.service;


import com.cskaoyan.bean.bo.goods.*;
import com.cskaoyan.bean.vo.goods.*;

import java.io.IOException;
import java.util.List;
import java.util.Set;

public interface GoodsService {
    GoodsListVO queryAllGoods(GoodsListBO goodsListBO);

    GoodsCatAndBrandVO queryCategoryAndBrand();

    GoodsDetailVO queryGoodsDetail(Integer id);

    GoodsCreateVO create(GoodsCreateBO goodsCreateBO);

    GoodsUpdateVO update(GoodsUpdateBO goodsUpdateBO);

    GoodsDeleteVo delete(GoodsDeleteBo goodsDeleteBo);

    WXGoodsCountVO queryGoodsCount();

    WXGoodsCategoryVO queryCategoryStuff(Integer id);

    WXGoodsListVO queryListStuff(WXGoodsListBO wxGoodsListBO);

    WXGoodsDetailVO queryDetailStuff(Integer id);

    WXGoodsRelatedVO queryRelatedStuff(Integer id);

    Set<String> helpSearch(String keyword) throws IOException;
}
